/**
 * 
 */
package org.gbif.agi.service;

import java.util.List;

import org.gbif.agi.model.Genus;

/**
 * @author timrobertson
 */
public interface GenusManager {
	public void save(Genus genus);
	
	public void remove(long id);
	public void remove(Genus genus);
	
	public Genus find(long id);
	public List<Genus> findAll();
	public List<Genus> find(String startsWith);
	public List<Genus> find(String startsWith, int results);
	public List<Genus> find(long datasourceId, long lftId, long rgtId);
	public List<Genus> find(String startsWith, String sortName, boolean sortAsc, int startAt, int results);
	public int count(String startsWith);
}
